﻿using Transformable_Engine_v2.Engine.Graphics;

namespace AngryManagementMayhem.Content.Textures.Map
{
    public class TestMapSpriteSheet : SpriteSheet
    {
        public enum SpriteList
        {
            Tile,
            HalfTile1,
            HalfTile2
        }

        public static void LoadContent()
        {
            GetInstance().SpriteSheetPath = "Content/Textures/Map/TestMap.png";

            GetInstance().AddSprite(SpriteList.HalfTile1, new Sprite(0, 0, 2, 2));
            GetInstance().AddSprite(SpriteList.HalfTile2, new Sprite(2, 0, 2, 2));
            GetInstance().AddSprite(SpriteList.Tile, new Sprite(4, 0, 2, 2));
        }

        public static Sprite GetSprite(SpriteList sprite)
        {
            return GetInstance().Sprite(sprite);
        }
    }
}